﻿using Shop.Model.DB;
using Shop.RemoteModel.CouponGoods.Model;

namespace Shop.Repository
{
    public interface ICouponGoodsRepository : IShopBaseRepository<DBShopCouponGoods, long>
    {
        DBShopCouponGoods[] Adds (long couponId, CoupGoods[] goods);
        Result[] GetsByCouponId<Result> (long couponId) where Result : class, new();
        long[] GetSkuIds (long couponId);
        void Sync (DBShopCouponGoods[] adds, long[] dropId, long activityId, int num);
    }
}